from django.urls import path
from . import views

urlpatterns = [
    path('channels/', views.ChannelsView.as_view()),
    path('index/', views.IndexView.as_view()),
    path('list/<category_id>/skus/', views.ListView.as_view()),
    path('hot/<category_id>/', views.HotGoodsView.as_view()),
    path('search/', views.MySearchView()),
    path('detail/<sku_id>/', views.DetailView.as_view()),
    path('browse_histories/', views.UserBrowseHistory.as_view()),

    path('carts/', views.CartsView.as_view()),
    path('carts/selection/', views.CartsSelectAllView.as_view()),
    path('carts/simple/', views.CartsView.as_view()),
]